package org.example.myportfolio.pojo.po;


import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@Document(indexName = "work_list")
public class WorkESPO {

    @Id
    private Long id;

    private Long userId;

    private String title;

    private String description;

    private String categoryId;

    private Date createdAt;

    private Date updatedAt;

}
